home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
rlib
/
isreal
< prev
next >
Wrap
Text File
|
1995-02-25
|
478b
|
20 lines
//-------------------------------------------------------------------//
// Synopsis: Test if a matrix is ALL real.
// Usage: isreal ( A )
// Description:
// isreal tests its argument, A, and returns TRUE (1) if A's
// elements are all real, or FALSE (0) if any of A's elements are
// complex.
// See Also: any
//-------------------------------------------------------------------//
isreal = function ( A )
{
return all (all (imag (A) == 0));
};